package com.ihr360.payroll.config;

import com.ihr360.commons.model.entity.NumberId;

public class SalaryTaxRuleEntity extends NumberId<Long> {

    /** 个税 */
    private SalaryTaxEntity salaryTax;

    //正算
    /** 应纳税额下限 */
    private Long taxFloor;

    /** 应纳税额上限 */
    private Long taxCeil;

    //反算
    /** 收入下限 */
    private Long floor;

    /** 收入上限 */
    private Long ceil;

    /** 免税方式:固定值/比例 */
    private boolean fixed = true;

    /** 免税额 */
    private Long examption;

    /** 税率 */
    private int ratio;

    /** 速算扣除数 */
    private long reduce;

    public SalaryTaxEntity getSalaryTax() {
        return salaryTax;
    }

    public void setSalaryTax(SalaryTaxEntity salaryTax) {
        this.salaryTax = salaryTax;
    }

    public Long getTaxFloor() {
        return taxFloor;
    }

    public void setTaxFloor(Long taxFloor) {
        this.taxFloor = taxFloor;
    }

    public Long getTaxCeil() {
        return taxCeil;
    }

    public void setTaxCeil(Long taxCeil) {
        this.taxCeil = taxCeil;
    }

    public Long getFloor() {
        return floor;
    }

    public void setFloor(Long floor) {
        this.floor = floor;
    }

    public Long getCeil() {
        return ceil;
    }

    public void setCeil(Long ceil) {
        this.ceil = ceil;
    }

    public boolean isFixed() {
        return fixed;
    }

    public void setFixed(boolean fixed) {
        this.fixed = fixed;
    }

    public Long getExamption() {
        return examption;
    }

    public void setExamption(Long examption) {
        this.examption = examption;
    }

    public int getRatio() {
        return ratio;
    }

    public void setRatio(int ratio) {
        this.ratio = ratio;
    }

    public long getReduce() {
        return reduce;
    }

    public void setReduce(long reduce) {
        this.reduce = reduce;
    }
}
